Skip to main content

Upload Documents for Loan Request

POST /api/v1/loans/documents/{requestId}

Description

Upload documents for a specific loan request.

Path Parameters

NameTypeDescription
requestIdstringThe ID of the loan request (path)

Request Body

  • Content Type: application/json
{
"docLinks": [
{
"name": "string",
"link": "string"
}
]
}

Response Code: 201 - Created

Description

Documents uploaded successfully.

Headers

Content-TypeValue
apiKey{{apiKey}}

Body

{
"docLinks": [
{
"name": "Document 1",
"link": "https://example.com/document1.pdf"
},
{
"name": "Document 2",
"link": "https://example.com/document2.pdf"
}
]
}

LANGUAGE

AUTHORIZATION

Bearer

CURL REQUEST


curl --request POST \ 
--url /api/v1/loans/documents/{requestId} \
--header 'accept: application/json' \
--header 'content-type: application/json'

RESPONSE


Click Try It! to start a request and see the response here!